#ifndef SHOT_H
#define SHOT_H

#include "Time.h"
#include "Event.h"
#include <string>
 
class Shot : public Event
{
friend ostream& operator<<(ostream& out, Shot& attempt );
 private:
  bool m_made;
  int m_points;
  Time m_shotTime;  
public:
  Shot();
  Shot(char team, int playerNumber, int points, bool made, Time time);  

  bool getMade();
  int getPoints();
  Time getTime();
  bool assignValues();
  int getPer();
};

#endif
